package com.monkey.utils.grouper;

import java.util.Collections;
import java.util.List;

/**
 * 对数据进行反转
 *
 * @author Shengzhao Li
 */
public class ReverseGroupResult<K, E> extends GroupResult<K, E> {


    public ReverseGroupResult(K key) {
        super(key);
    }

    public List<E> getResults() {
        Collections.reverse(results);
        return super.getResults();
    }
}